* {
    padding: 0;
    margin: 0;
}

/* 页面中所有a清除下划线 */
a {
    text-decoration: none;
}

// 餐厅名
.header {
    height: 0.4rem;
    padding-left: 0.15rem;
    background: rgb(246, 240, 227);
}

//轮播
.banner {
    img {
        width: 100%;
        height: 2.5rem;
    }
}

.map {
    height: 0.3rem;
    display: flex;
    justify-content: space-between;
    padding: 0 0.2rem;
    line-height: 0.3rem;
    border-bottom: 0.01rem solid rgb(212, 210, 210);

    P {
        font-size: 0.16rem;
        font-weight: bold;
        color: rgb(59, 58, 58);
    }

    span {
        color: rgb(137, 141, 141);
    }
}

h3 {
    text-align: center;
    height: 0.6rem;
    line-height: 0.6rem;
}

.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
    .item {
        padding: 0.1rem;
        width: 1.9rem;
        height: 2.46rem;
        border: 0.01rem solid rgb(219, 216, 216);
        text-align: center;
        margin-bottom: 10px;

        img {
            width: 1.9rem;
            height: 1.6rem;
            border-radius: 0.07rem;
        }

        p {
            line-height: 0.4rem;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        span {
            display: inline-block;
            color: red;
        }
    }
}

footer {
    width: 100%;
    height: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    background-color: white;
    border-top: 3px dashed rgb(235, 152, 152);

    div {
        width: 0.8rem;
        height: 0.4rem;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
         &:hover{
            color: #e02e24;
         }

        span  {
            font-size: 0.2rem;
            color: #666666;
        }
    }
}

.active {
    background-color: red;
}